# A minimal ping example.
#
# Runs a task that pings localhost 100 times.
#
# Usage:
#   sky launch --docker -c ping ping.yaml
#   sky down ping

name: ping

resources:
  cloud: aws

setup: |
  sudo apt-get update --allow-insecure-repositories
  sudo apt-get install -y iputils-ping

run: |
  ping 127.0.0.1 -c 100
